package com.frank.stock4j.tusharepro.bean;

import com.frank.stock4j.tusharepro.BaseBean;
import com.frank.stock4j.tusharepro.http.BaseRequestParam;

/**
* 描述：Libor拆借利率
* @author: codesmith
**/
public interface LiborBean extends BaseBean {
    String API_NAME = "libor";
    
    interface Fields {
    String date = "date";    //日期
    String curr_type = "curr_type";    //货币
    String on = "on";    //隔夜
    String w1 = "1w";    //1周
    String m1 = "1m";    //1个月
    String m2 = "2m";    //2个月
    String m3 = "3m";    //3个月
    String m6 = "6m";    //6个月
    String m12 = "12m";    //12个月
    }
    
    interface Params {
        date date = new date();
        /*
        * 日期 (日期输入格式：YYYYMMDD，下同)
        */
        class date extends BaseRequestParam {
            { key = "date"; }
        }
        start_date start_date = new start_date();
        /*
        * 开始日期
        */
        class start_date extends BaseRequestParam {
            { key = "start_date"; }
        }
        end_date end_date = new end_date();
        /*
        * 结束日期
        */
        class end_date extends BaseRequestParam {
            { key = "end_date"; }
        }
        curr_type curr_type = new curr_type();
        /*
        * 货币代码  (USD美元  EUR欧元  JPY日元  GBP英镑  CHF瑞郎，默认是USD)
        */
        class curr_type extends BaseRequestParam {
            { key = "curr_type"; }
        }
    }
}